package com.example.yuejianapp14.Activity.Servics;

import com.example.yuejianapp14.Activity.JavaBean.Collected;
import com.example.yuejianapp14.Activity.JavaBean.Success;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by jason_lin on 2017/9/25.
 */

public interface CollectedService {
    @GET("collect")
    Call<Success> collect(
            @Query("uid") String uid,
            @Query("type") String type,
            @Query("typeid") String typeid
    );
    @GET("collectinfo")
    Call<Success> collectinfo(
            @Query("uid") String uid,
            @Query("type") String type,
            @Query("typeid") String typeid
    );

    @GET("findcollected")
    Call<List<Collected>> findcollected(
            @Query("uid") String uid
    );
}
